package dao;

import org.hibernate.Session;
import org.hibernate.Transaction;

import hbt.HibernateDAO;
import bean.AdministracionBean;

public class AdministracionDao {
	
	public void altaAdministracion(AdministracionBean AB)
	{
		Session s = HibernateDAO.getInstancia().getSession();
		Transaction t = s.beginTransaction();
		s.save(AB);
		t.commit();
	}

}
